﻿using System.Diagnostics;
using System.Web.Mvc;

namespace MagickServer.Controllers {
    public class MonitorController: Controller {
        public ActionResult Index() {
            using (var proc = Process.GetCurrentProcess()) {
                ViewData["WorkingSet"] = proc.WorkingSet64;
            }
            return View();
        }
    }
}